Skip to content

fix(helm): declare nameOverride, fullnameOverride, and frontend appHo… - #5788

Merged
lyingbug merged 1 commit into
Tencent:mainfrom
shengzhaowei:fix/helm-values-declarations
Nov 25, 2026
Merged

lyingbug merged 1 commit into
Tencent:mainfrom
shengzhaowei:fix/helm-values-declarations

Conversation

@shengzhaowei

Copy link
Copy Markdown
Contributor

Problem

The chart templates reference four values that helm/values.yaml never
declares:

  • frontend.appHost / frontend.appPort (helm/templates/frontend.yaml,
    used for the frontend's APP_HOST / APP_PORT env vars)
  • nameOverride / fullnameOverride
    (helm/templates/_helpers.tpl, weknora.name / weknora.fullname)

Users can only discover them by reading the templates (the README already
documents frontend.appHost as an explicit override), and helm show values
does not list them.

Change

Declare all four in values.yaml with empty-string defaults, following the
file's existing "empty keeps …" convention (e.g. service.name: ""):

  • nameOverride: "" — empty keeps Chart.Name (weknora)
  • fullnameOverride: "" — empty derives the name from the release name
  • frontend.appHost: "" — empty keeps the App Service name
  • frontend.appPort: "" — empty keeps the App Service port (8080)

Verification

  • No rendered output changes: every new entry is empty, so each template's
    existing default fallback still applies (traced through
    weknora.name, weknora.fullname, and the APP_HOST / APP_PORT
    expressions).
  • helm/values.yaml parses as valid YAML; git diff --check is clean.
  • Note: helm template / helm lint were not run in this environment
    (no Helm binary available); the above is a static check only.

@lyingbug
lyingbug merged commit b04c5fe into Tencent:main Nov 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants